package main

import (
	"fmt"
	"gitee.com/wws_git/oracle"
	"gorm.io/gorm"
)

func main() {
	//oracle://user:pass@server/service_name
	db, err := gorm.Open(oracle.Open("oracle://itws:123456@172.16.9.110:1521/ORCL"), &gorm.Config{})
	if err != nil {
		// panic error or log error info
	}
	fmt.Println(db)
}
